package org.x.user.service;


import com.mybatisflex.core.paginate.Page;
import jakarta.validation.Valid;
import org.x.user.dto.AclQueryDTO;
import org.x.user.dto.CreateAclDTO;
import org.x.user.dto.UpdateAclDTO;
import org.x.user.entity.SysAclEntity;
import com.mybatisflex.core.service.IService;
import org.x.user.vo.AclInfoVO;
import org.x.user.vo.AclVO;

/**
 * 权限表 服务层。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
public interface ISysAclService extends IService<SysAclEntity> {
    // 创建权限
    AclVO createAcl(@Valid CreateAclDTO aclDTO);

    AclVO updateAcl(@Valid UpdateAclDTO updateAclDTO);

    AclVO deleteAcl(Long id);

    Page<AclInfoVO> pageList(@Valid AclQueryDTO aclQueryDTO);

    SysAclEntity getDetail(Long id);

}